package com.secxiot.provider.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@ApiModel
@ToString
@Data
@AllArgsConstructor
@Builder
public class UserDeptDto implements Serializable {

    private static final long serialVersionUID = 6554703376762539108L;

    public UserDeptDto() {
    }

    @ApiModelProperty(value = "部门名称", required = true)
    private String deptName;

    @ApiModelProperty(value = "部门Id", required = true)
    private Long deptId;

    @ApiModelProperty(value = "部门等级，1为医院", required = true)
    private Integer deptLevel;

    @ApiModelProperty(value = "是否是叶子节点 1：是 0：否", required = true)
    private Integer leafNode;

    @ApiModelProperty(value = "是否是直属部门 1：是 0：否", required = true)
    private Integer directFlag;

}
